package com.sky.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class VipVO implements Serializable {
    
    private Long id;
    
    //对应用户id
    private Long userId;
    
    //用户名称
    private String userName;
    
    //用户手机号
    private String userPhone;
    
    //会员等级：青铜，白银，黄金，钻石
    private String level;
    
    //初次开通会员的时间
    private LocalDateTime createTime;
    
    //最近一次的会员生效时间
    private LocalDateTime startTime;
    
    //最近一次的会员失效时间
    private LocalDateTime endTime;
    
    //会员状态：是否有效
    private Boolean active;
} 